<style tyle="text/css">
    .modal-lg {
        width: 60%;
    }
</style>
<div class="modal-header">
    <h4 class="modal-title">一卡通信息</h4>
</div>
<div class="modal-body">
    <form name="form" class="form-horizontal form-validation ng-pristine ng-valid ng-valid-required">
        <div class="form-group">
            <h4 class="col-lg-4 control-label">
                原密码
            </h4>
            <h4 class="col-sm-4">
                <input type="password" class="form-control" placeholder="原密码" ng-model="cardInfo.password_old" ng-pattern="/^\d{6}$/" required>
            </h4>
            <label class="control-label text-muted mt10">
                <i>请填写旧密码</i>
            </label>
        </div>
        <div class="form-group">
            <h4 class="col-lg-4 control-label">
                新密码
            </h4>
            <h4 class="col-sm-4">
                <input type="password" class="form-control" placeholder="新密码" ng-model="cardInfo.password_new" ng-pattern="/^\d{6}$/" required>
            </h4>
            <label class="control-label text-muted mt10">
                <i>请填写新密码</i>
            </label>
        </div>
        <div class="form-group">
            <h4 class="col-lg-4 control-label">
                新密码
            </h4>
            <h4 class="col-sm-4">
                <input type="password" class="form-control error" placeholder="新密码" ng-model="cardInfo.password_new_twice" ng-pattern="/^\d{6}$/" required>
            </h4>
            <label class="control-label text-muted mt10">
                <i ng-class="{true: 'text-muted', false: 'text-danger'}[is_same]">请再次填写相同新密码</i>
            </label>
        </div>
    </form>

</div>

<div class="modal-footer">
    <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="!is_invail">确定</button>
    <button class="btn btn-danger" type="button" ng-click="close()">关闭</button>
</div>